#ifndef _L2CAP_RETRANS_H_
#define _L2CAP_RETRANS_H_

#include "host_config.h"
#include "l2_types.h"


// S-frame type value
#define L2CAP_RR_FRAME		0x00	/* receiver ready  */
#define L2CAP_REJ_FRAME	0x01	/* REJ-reject */
#define L2CAP_RNR_FRAME	0x10	/* receiver not ready */
#define L2CAP_SREJ_FRAME	0x11	/* select reject */

enum L2_ENHANCED_STATE
{
  L2_RECV, 
  L2_REJ_SENT, 
  L2_SREJ_SENT, 
  L2_XMIT,
  L2_WAIT_F
  };

int L2cap_DeliverIFrame(rdabt_t_l2_channel * p_channel);
void L2cap_ReceiveFrames(rdabt_t_l2_channel* pchannel, u_int8 *  pBuf);


#endif
